#ifndef RACEINFO_H
#define RACEINFO_H

#include "includes.h"

class RaceInfo : public QObject {
	Q_OBJECT
public:
	RaceInfo();
	RaceInfo(int numberOfCard, bool extension, bool extensionAllowed, int normalDistance, int extensionDistance);
	
public:
	int numberOfCards;
	
	bool extension;
	bool extensionAllowed;
	
	int normalDistance;
	int extensionDistance;
};


/* Serialization */
QDataStream &operator<<(QDataStream& out, const RaceInfo& raceInfo);
QDataStream &operator>>(QDataStream& in, RaceInfo& raceInfo);
QDebug operator<<(QDebug dbg, const RaceInfo &raceInfo);





#endif // RACEINFO_H
